import { httpGet, httpPost } from "@/utils/request";
/**
 * 首页轮播图
 */
export const bannerApi = (params) => {
  return httpGet("/api/admin/carousel", params);
};

/**
 * 获取选择中加思培列表
 */
export const selectGlobalApi = (params) => {
  return httpGet("/api/admin/select_global", params);
};

// /**
//  * 获取项目列表
//  */
// export const projectListApi = (params) => {
//   return httpGet("/api/user/project", params);
// };

/**
 * 创建预约记录
 * @param appointment_name
 * @param appointment_phone
 */

export const appointmentApi = (data) => {
  return httpPost("/api/admin/appointment", data);
};
